import request from 'utils/request'

// 余额首页
export const predepositHome = params => request.get("/p/predeposit/home", params)

// 充值页面
export const predepositRechargePage = params => request.get("/p/predeposit/rechargePage", params)

// 更新支付密码
export const predepositUpdatePayPassword = params => request.post("/p/predeposit/updatePayPassword", params, {})

// 创建充值单
export const predepositcreateRechargeOrder = params => request.post("/p/predeposit/createRechargeOrder", params, {})

// 获取会员充值记录列表
export const predepositRechargeList = params => request.post("/p/predeposit/rechargeList", params)

// 获取会员充值记录详情
export const predepositrechargeDetail = params => request.post("/p/predeposit/rechargeDetail", params)

// 获取会员余额明细列表
export const predepositBalanceDetailList = params => request.post("/p/predeposit/balanceDetailList", params)

// 详情
export const predepositBalanceDetail = params => request.get("/p/predeposit/balanceDetail", params)

// 获取商家充值说明
export const predepositRechargeContent = params => request.get("/p/predeposit/rechargeContent", params)

